import 'package:flutter/material.dart';
import 'package:mall/constant/app_strings.dart';
import 'package:mall/constant/text_style.dart';
import 'package:mall/gen/r.dart';

class EmptyDataView extends StatelessWidget {
  EmptyDataView();

  @override
  Widget build(BuildContext context) {
    return Container(
      width: double.maxFinite,
      height: double.maxFinite,
      alignment: Alignment.center,
      child: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: <Widget>[
            Image.asset(
              R.image.emptyDatas.path,
              height: 75,
              width: 75,
            ),
            Padding(
              padding: EdgeInsets.only(top: 10),
            ),
            Text(AppStrings.PAGE_EMPTY, style: FMTextStyle.color_ff5722_size_13)
          ],
        ),
      ),
    );
  }
}
